<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Sensor Calibration</title>
    <link href="layout.css" rel="stylesheet" type="text/css">
    <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
   
 </head>
    <body>
 
 	<h1>Accelerometer Calibration- Science!</h1>
 	<h4>Please lay the device flat on your bed, plug in the power and select "start calibration" from the menu</h4>
   
	
	
	<script type="text/javascript">
	$(function () {
	
	function startCalibration(){
	window.javahandler.startCalibration();
	}
	var temp = window.javahandler.getPageData();
	var json = eval("(" + temp + ")");
	
	function updatePage(){
	
	$("#title").text(json.title);
	$("#message").text(json.message);
	$("#message2").text(json.message2);
		window.location.reload(true);
		setTimeout(updatePage, 30000);
		}
	
	
	function setText(text){
	document.getElementById('message').innerHTML = text;
	}
	
		updatePage();
     });
    
	</script>
	

    <p>The device will calibrate itself relative to that position. Recommended spot is 16"/40 cm from the center of your pillow. If your bed is very springy, you can put the phone further away. If it is stiff, put it closer to your pillow. Select the Start calibration option from the menu to start</p>    
   <p>Calibration progress is displayed in the status bar</p>
   <p>Check your phone for battery recall, charger recall, etc, if you are concerned about fire safety!</p>
   
   <h2>Phone calibration is extremely sensitive to movement, please avoid touching the phone or the bed during calibration</h2>
  
  
 


 </body>
</html>
